package com.basic.auth.controller.req;


import com.basic.common.result.WebPageParam;

import java.util.List;

/**
 * 角色请求实体
 *
 * @author
 * @version 1.0
 * @Date
 */

public class AuthRoleReqForm extends WebPageParam {
    /**
     * 角色编码
     */


    private String roleCode;
    /**
     * 角色名称
     */

    private String name;
    /**
     * 角色介绍
     */

    private String decription;
    /**
     * 是否允许访问
     */

    private Short canVisit;
    /**
     * 子系统编号
     */

    private Short subSystemId;
    /**
     * 子系统编号集合
     */
//    @ApiModelProperty(value = "多个子系统id用‘|’分割", example = "1|2|3|4|5")
    private String subSystemIds;
    /**
     * 系统编号
     */
//    @NotNull(message = "000001|系统编号", groups = {VldGroup2th.class})
//    @ApiModelProperty(value = "系统编号", example = "3")
    private Short systemId;
    /**
     * 当前用户id
     */
//    @ApiModelProperty(value = "用户id", example = "110118090215020001")
    private Long boId;
    /**
     * 业务id
     */
//    @ApiModelProperty(value = "业务id", example = "1")
    private String busId;
    /**
     * 业务类型
     */
//    @ApiModelProperty(value = "业务类型", example = "MANUFACTURER")
    private String busType;

    /**
     * @Fields sort 排序
     */
//    @ApiModelProperty(value = "排序", example = "1")
    private Integer sort;

    /**
     * 是否默认
     */
    private Short isDefault;

    /**
     * 下属人员数量
     */
    private int count;

    /**
     * 功能列表
     */
    private List<String> funcList;

    private List<String> roleCodeList;

    public List<String> getRoleCodeList() {
        return roleCodeList;
    }

    public void setRoleCodeList(List<String> roleCodeList) {
        this.roleCodeList = roleCodeList;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<String> getFuncList() {
        return funcList;
    }

    public void setFuncList(List<String> funcList) {
        this.funcList = funcList;
    }

    public Short getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Short isDefault) {
        this.isDefault = isDefault;
    }

    public String getSubSystemIds() {
        return subSystemIds;
    }

    public void setSubSystemIds(String subSystemIds) {
        this.subSystemIds = subSystemIds;
    }

    public Long getBoId() {
        return boId;
    }

    public void setBoId(Long boId) {
        this.boId = boId;
    }

    public String getBusId() {
        return busId;
    }

    public void setBusId(String busId) {
        this.busId = busId;
    }

    public String getBusType() {
        return busType;
    }

    public void setBusType(String busType) {
        this.busType = busType;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription;
    }

    public Short getCanVisit() {
        return canVisit;
    }

    public void setCanVisit(Short canVisit) {
        this.canVisit = canVisit;
    }

    public Short getSubSystemId() {
        return subSystemId;
    }

    public void setSubSystemId(Short subSystemId) {
        this.subSystemId = subSystemId;
    }

    public Short getSystemId() {
        return systemId;
    }

    public void setSystemId(Short systemId) {
        this.systemId = systemId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "AuthRoleReqForm{" +
                "roleCode='" + roleCode + '\'' +
                ", name='" + name + '\'' +
                ", decription='" + decription + '\'' +
                ", canVisit=" + canVisit +
                ", subSystemId=" + subSystemId +
                ", subSystemIds='" + subSystemIds + '\'' +
                ", systemId=" + systemId +
                ", boId=" + boId +
                ", busId='" + busId + '\'' +
                ", busType='" + busType + '\'' +
                ", sort=" + sort +
                ", isDefault=" + isDefault +
                "} " + super.toString();
    }
}
